<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget"
	xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ajax="http://www.apusic.com/jsf/ajax"
	xmlns:g="http://www.apusic.com/jsf/graph" renderKitId="AJAX">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<style type="text/css">
			.x-grid3-row-over {
				background: yellow;
			}
		</style>
	</w:head>
	<w:page title="#{module.menu.menuListBean.messages.roleListPageTitle}">
		<w:form style="height: 100%">
			<w:dataGrid id="roleDataGrid" paged="true" rows="16" loadMask="true"
				toolBarPosition="bottom" singleSelect="true"
				selectionModel="#{constantBean.checkBox}" var="role">
				<w:outputColumn id="id" header="ID" value="#{role.id}" hidden="true" />
				<w:outputColumn
					header="#{module.security.roleListBean.messages.roleListName}"
					id="name" width="200" sortable="true" />
				<w:outputColumn
					header="#{module.security.roleListBean.messages.roleListAuthNames}"
					id="authNames" width="400" sortable="true" />
			</w:dataGrid>
			<w:pagingToolbar for="roleDataGrid" target="roleDataGrid">
				<w:button id="add" image="../../resources/images/new.gif" />
				<w:button id="linkAuths" image="../../resources/images/modify.png" label="授予权限"/>
				<w:button id="del" image="../../resources/images/delete.gif" />
			</w:pagingToolbar>
			<w:button id="refesh" style="display: none;" jsvar="BtnJsvar" />
		</w:form>
		<layout:window width="500" height="150" id="OperationDialog" y="100"
			modal="true" resizable="false" autoScroll="true">
			<w:iframe id="OperationFrame" style="width: 100%;height: 100%"
				frameborder="no" scrolling="no"></w:iframe>
		</layout:window>
	</w:page>
</f:view>